package com.iss.utils;

public class Parameter {
	
	public static String getNullSafeValue(String value,String safe){
		if (value == null) return safe;
		return value;
	}
	
	public static boolean getNullSafeValue(String value,boolean safe){
		if (value == null) return safe;
		boolean ret = safe;
		try{
			ret = Boolean.parseBoolean(value);
		}catch(Exception e){}
		return ret;
	}
}
